#include <bits/stdc++.h>
using namespace std;
int d[100005],dis[100005];
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    ios::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    int n;
    cin>>n;
    for(int i=1;i<=n;i++)cin>>d[i];
    sort(d+1,d+n+1);
    int top=1;
    dis[top]=1;
    for(int i=1;i<=n-1;i++){
        if(d[i]==d[i+1])dis[top]++;
        if(d[i]<d[i+1]){
            top++;
            dis[top]=1;
        }
    }
    int sum=dis[1];
    for(int i=2;i<=top;i++){
        if(sum>=dis[i])continue;
        if(sum<dis[i])sum=dis[i];
    }
    cout<<sum;
    return 0;
}
